package rjeutsky.ui;

import java.util.Scanner;

public class IntegerConsoleRequest extends ConsoleRequest<Integer> {

	@Override
	protected void queryConsole() {
		Scanner scanner = new Scanner(input);
		while (!scanner.hasNextInt()){
			scanner.next();
		}
		value = scanner.nextInt();
	}

}
